package com.cmo.rzl.display;

import com.cmo.rzl.core.base.BaseController;
import com.cmo.rzl.core.jfinal.ext.autoroute.ControllerBind;
import com.jfinal.kit.StrKit;
@ControllerBind(controllerKey="/screen")
public class DisplayController extends BaseController {

	public void index(){
		String filename = getPara("page");
		if(StrKit.isBlank(filename)){
			render("/web/door_vertical/index.html");
		}else{
			render("/web/door_vertical/"+filename+".html");
		}
		
	}
	public void hall(){
		String filename = getPara("page");
		if(StrKit.isBlank(filename)){
			render("/web/hall/index.html");
		}else{
			render("/web/hall/"+filename+".html");
		}
	}
}
